import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import { loadAllPlugins } from "@/plugins";
import "./styles/global.scss";
// 挂载api
import api from "./api";
const app = createApp(App);

loadAllPlugins(app);
app.config.globalProperties.$api = api;

app
  .use(store)
  .use(router)
  .mount("#app");
